import request from '@/utils/request'

//添加一条领导信箱回复管理信息
export function leadMailReplyAdd(data) {
	return request({
		method: 'post',
		url: '/leadMailReply/add',
	 	data
	})
}
//删除一条领导信箱回复管理信息
export function leadMailReplyDelete(id) {
	return request({
		method: 'get',
		url: '/leadMailReply/delete/' + id,
	})
}
//批量删除领导信箱回复管理
export function leadMailReplyDeleteBatch(data) {
	return request({
		method: 'post',
		url: '/leadMailReply/deleteBatch',
		data
	})
}
//领导信箱回复管理信息分页列表
export function leadMailReplyOpenApiQuery(data) {
	return request({
		method: 'get',
		url: '/leadMailReply/openApi/query',
		params: data
	})
}
//查询一条领导信箱回复管理信息
export function leadMailReplyOpenApiQueryId(id) {
	return request({
		method: 'get',
		url: '/leadMailReply/openApi/query/' + id,
	})
}
//领导信箱回复管理信息分页列表
export function leadMailReplyQuery(data) {
	return request({
		method: 'get',
		url: '/leadMailReply/query',
		params: data
	})
}

//查询一条领导信箱回复管理信息
export function leadMailReplyQueryId(data) {
	return request({
		method: 'get',
		url: '/leadMailReply/query/' + id,
		params: data
	})
}
//修改一条领导信箱回复管理信息
export function leadMailReplyUpdate(data) {
	return request({
		method: 'post',
		url: '/leadMailReply/update',
		data
	})
}

